Using the Block Custom file
Each block has a -custom.twig file. This file is used to add custom block-specific code to the block. The other block files might also have block specific code, but this file is specifically for the code that makes the block unique.